package icasue.base.config.properties;

import lombok.Data;

/**
 * @Author: Qiao Hang
 * @CreateDate: 2021/11/30 下午3:32
 * @UpdateDate:
 * @Description:
 */
@Data
public class CurrentLockProperties {
    public Boolean enable;
    public String keyPrefix = "concurrency:key:";
    public Long timeoutMillions = 5000L;
    public Reference reference = new Reference();

    @Data
    public static class Reference{
        public String jedisPool;
        public String redisConnectionFactory;
    }
}
